home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / dist / gdb / xm-rtbsd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-27  |  1.6 KB  |  44 lines

  1. /* Definitions to host GDB on an IBM RT/PC running BSD Unix. 
  2.    Copyright 1986, 1987, 1989, 1991, 1992  Free Software Foundation, Inc.
  3.    Contributed by David Wood @ New York University (wood@lab.ultra.nyu.edu).
  4.  
  5. This file is part of GDB.
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. /* Get rid of any system-imposed stack limit if possible.  */
  22. #define SET_STACK_LIMIT_HUGE
  23.  
  24. /* This machine is most significant byte first */
  25. #define HOST_BYTE_ORDER BIG_ENDIAN
  26.  
  27. /* This OS has the wait structure */
  28. #define HAVE_WAIT_STRUCT
  29.  
  30. #ifdef HOSTING_ONLY
  31. /*
  32.  * This next two defines are to get GDB up and running as a host to
  33.  * do remote debugging.  I know there is a gdb for the RT, but there wasn't
  34.  * an xconfig/rt* file.  
  35.  */
  36. #define KERNEL_U_ADDR_BSD  /* This may be correct, but hasn't been tested */
  37. #define REGISTER_U_ADDR(a,b,c)       \
  38.     (printf("GDB can not debug IBM RT/PC BSD executables (yet)\n"),\
  39.     quit(),0)
  40. #else
  41. # include    "GDB for the RT is not included in the distribution" 
  42. #endif
  43.  
  44.